package sync.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import sync.ssc.SyncPK;
import sync.ssc.SyncSSC;
import sync.ssc.SyncSSCPlanFive;

public class SSCPlanFiveJob implements Job{

	private static int sscCount = 1;

	private static Logger logger = LoggerFactory.getLogger(SSCPlanFiveJob.class.getName());

	public SSCPlanFiveJob(){}

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		syncData();
	}

	private static void syncData(){
		SyncSSCPlanFive plan = new SyncSSCPlanFive();
		try {
			plan.syncData();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}

